package com.jianyushe.gof23.learncode.creationalpattern.factory.factorymethod;

import com.jianyushe.gof23.learncode.creationalpattern.factory.simplefactory.Audi;
import com.jianyushe.gof23.learncode.creationalpattern.factory.simplefactory.Car;

/**
 * @author Create by Alvin
 * @Description TODO
 * @date 2021-10-11 15:25
 */
public class AudiFactory implements FactoryMethod {
    @Override
    public Car createCar() {
        return new Audi();
    }
}
